package top.yokey.android.fragment;

import android.os.Bundle;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.TextView;

import androidx.annotation.NonNull;
import androidx.fragment.app.Fragment;

import top.yokey.android.R;
import top.yokey.android.base.App;

public class FavFragment extends Fragment {

    public View onCreateView(@NonNull LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) {
        View root = inflater.inflate(R.layout.fragment_fav, container, false);
        final TextView textView = root.findViewById(R.id.text_dashboard);
        textView.setOnClickListener(view -> {
            System.out.println("这是 在Fav获取的：" + App.get().getMemberData().toString());
        });
        return root;
    }

}
